Optimal. Leaf size=57 \[ -\frac{3 \sqrt{b} \tan ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{b}}\right )}{a^{5/2}}+\frac{3 \sqrt{x}}{a^2}-\frac{x^{3/2}}{a (a x+b)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0192307, antiderivative size = 57, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {263, 47, 50, 63, 205} \[ -\frac{3 \sqrt{b} \tan ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{b}}\right )}{a^{5/2}}+\frac{3 \sqrt{x}}{a^2}-\frac{x^{3/2}}{a (a x+b)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 263
Rule 47
Rule 50
Rule 63
Rule 205
Rubi steps
\begin{align*} \int \frac{1}{\left (a+\frac{b}{x}\right )^2 \sqrt{x}} \, dx &=\int \frac{x^{3/2}}{(b+a x)^2} \, dx\\ &=-\frac{x^{3/2}}{a (b+a x)}+\frac{3 \int \frac{\sqrt{x}}{b+a x} \, dx}{2 a}\\ &=\frac{3 \sqrt{x}}{a^2}-\frac{x^{3/2}}{a (b+a x)}-\frac{(3 b) \int \frac{1}{\sqrt{x} (b+a x)} \, dx}{2 a^2}\\ &=\frac{3 \sqrt{x}}{a^2}-\frac{x^{3/2}}{a (b+a x)}-\frac{(3 b) \operatorname{Subst}\left (\int \frac{1}{b+a x^2} \, dx,x,\sqrt{x}\right )}{a^2}\\ &=\frac{3 \sqrt{x}}{a^2}-\frac{x^{3/2}}{a (b+a x)}-\frac{3 \sqrt{b} \tan ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{b}}\right )}{a^{5/2}}\\ \end{align*}
Mathematica [C] time = 0.0037448, size = 27, normalized size = 0.47 \[ \frac{2 x^{5/2} \, _2F_1\left (2,\frac{5}{2};\frac{7}{2};-\frac{a x}{b}\right )}{5 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 47, normalized size = 0.8 \begin{align*} 2\,{\frac{\sqrt{x}}{{a}^{2}}}+{\frac{b}{{a}^{2} \left ( ax+b \right ) }\sqrt{x}}-3\,{\frac{b}{{a}^{2}\sqrt{ab}}\arctan \left ({\frac{a\sqrt{x}}{\sqrt{ab}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.81404, size = 300, normalized size = 5.26 \begin{align*} \left [\frac{3 \,{\left (a x + b\right )} \sqrt{-\frac{b}{a}} \log \left (\frac{a x - 2 \, a \sqrt{x} \sqrt{-\frac{b}{a}} - b}{a x + b}\right ) + 2 \,{\left (2 \, a x + 3 \, b\right )} \sqrt{x}}{2 \,{\left (a^{3} x + a^{2} b\right )}}, -\frac{3 \,{\left (a x + b\right )} \sqrt{\frac{b}{a}} \arctan \left (\frac{a \sqrt{x} \sqrt{\frac{b}{a}}}{b}\right ) -{\left (2 \, a x + 3 \, b\right )} \sqrt{x}}{a^{3} x + a^{2} b}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 10.3269, size = 411, normalized size = 7.21 \begin{align*} \begin{cases} \tilde{\infty } x^{\frac{5}{2}} & \text{for}\: a = 0 \wedge b = 0 \\\frac{2 x^{\frac{5}{2}}}{5 b^{2}} & \text{for}\: a = 0 \\\frac{2 \sqrt{x}}{a^{2}} & \text{for}\: b = 0 \\\frac{4 i a^{2} \sqrt{b} x^{\frac{3}{2}} \sqrt{\frac{1}{a}}}{2 i a^{4} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{3} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} + \frac{6 i a b^{\frac{3}{2}} \sqrt{x} \sqrt{\frac{1}{a}}}{2 i a^{4} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{3} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} - \frac{3 a b x \log{\left (- i \sqrt{b} \sqrt{\frac{1}{a}} + \sqrt{x} \right )}}{2 i a^{4} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{3} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} + \frac{3 a b x \log{\left (i \sqrt{b} \sqrt{\frac{1}{a}} + \sqrt{x} \right )}}{2 i a^{4} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{3} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} - \frac{3 b^{2} \log{\left (- i \sqrt{b} \sqrt{\frac{1}{a}} + \sqrt{x} \right )}}{2 i a^{4} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{3} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} + \frac{3 b^{2} \log{\left (i \sqrt{b} \sqrt{\frac{1}{a}} + \sqrt{x} \right )}}{2 i a^{4} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{3} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.11867, size = 62, normalized size = 1.09 \begin{align*} -\frac{3 \, b \arctan \left (\frac{a \sqrt{x}}{\sqrt{a b}}\right )}{\sqrt{a b} a^{2}} + \frac{2 \, \sqrt{x}}{a^{2}} + \frac{b \sqrt{x}}{{\left (a x + b\right )} a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]